package com.boot.spi;

import com.boot.service.UploadCDN;
import org.apache.commons.lang.StringUtils;

import java.util.ServiceLoader;
import java.util.function.DoubleFunction;

/**
 * @Package com.boot.spi
 */
public class SpiTester {

    public static void main(String[] args) {
//        char[] strArr= new char[]{'，','、'};
//        System.out.println(StringUtils.containsNone("aa",strArr));
//        ServiceLoader<UploadCDN> uploadCDN = ServiceLoader.load(UploadCDN.class);
//
//        for (UploadCDN u : uploadCDN) {
//            u.upload("filePath");
//        }

        out:for (int i = 0; i < 10; i++) {
            System.out.println("i"+i);
            for (int i1 = 0; i1 < 5; i1++) {
                System.out.println("i1"+i1);
                if(i1==2)
                    break out;
            }
        }
        System.out.println("end");
    }
}
